package com.woniuxy.qiantai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author firstGroup
 * @since 2023-02-22 11:56:24
 */
@Getter
@Setter
@TableName("t_type")
public class Type {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("type_name")
    private String typeName;

    @TableField("shop_id")
    private Integer shopId;

    @Override
    public String toString() {
        return "Type{" +
                "typeName='" + typeName + '\'' +
                '}';
    }
}
